<div class="main-view"><!--最外层div-->
    <br><div class="left-margin top-margin"><strong class="am-text-primary am-text-lg">推送帖子列表</strong></div>

    <form class="am-form-inline left-margin top-margin" role="form">


    </form>

    <div style="display:inline">
        <div id="pagination" class="pagination" style="float:left"></div>
        <!--<div style="float:left">共<span id = 'page_number2'>{{pageNumber}}</span>页 <span>{{count}}条数据</span></div>-->
    </div>
    <div class="pagination-table left-margin" id="tab_menu" style = "margin-top: 0px;">

        <form class="am-form">
            <table class="am-table am-table-striped am-table-hover table-main">
                <thead>
                    <tr>
                        <th class="table-check"><input type="checkbox" ng-click="allSelected()"></th>
                        <th class="table-title">所属小区</th>
                        <!--<th class="table-title">板块内小区</th>-->
                        <!--<th class="table-title">标签</th>-->
                        <th class="table-title">描述</th>
                        <th class="table-title">类型</th>
                        <!--<th class="table-title">回复/数量</th>-->
                        <th class="table-title">创建者</th>
                        <th class="table-title">发布时间</th>
                        <th class="table-title">最后修改时间</th>
                        <th class="table-title">操作</th>

                    </tr>
                </thead>

                <tbody>
                    <tr ng-repeat="question in questionList"  id = "{{question.objId}}">
                        <td class="table-check"><input type="checkbox" class = "item-check"></td>
                        <td>{{question.community.communityName}}</td>
                        <td>{{question.desc}}</td>
                        <td>{{question.community.cat}}</td>
                        <td>{{question.categoryName}}</td>
                        <td>{{question.createdBy.nickName}}</td>
                        <td><div>{{question.dateCreated | date:'yyyy-MM-dd'}}<br>{{question.dateCreated | date:'HH:mm:ss'}}</div></td>
                        <td><div>{{question.dateLastModified | date:'yyyy-MM-dd'}}<br>{{question.dateLastModified | date:'HH:mm:ss'}}</div></td>
                        <td>
                            <div class="am-btn-toolbar">
                                <div class="am-btn-group am-btn-group-xs">
                                        <button class="am-btn am-btn-default am-btn-xs am-text-secondary" ng-click="questionPushShow(question)"><span class="am-icon-copy"></span> 推送</button>
                                </div>
                            </div>

                        </td>


                    </tr>
                </tbody>
            </table>
        </form>
    </div>

    <div class = "left-margin">共<span id = 'page_number'>{{pageNumber}}</span>页 <span>{{count}}条数据</span></div>

    <!--推送消息-->
    <div class="am-modal am-modal-no-btn" tabindex="-1" id="doc-modal-push">
        <div class="am-modal-dialog">
            <div class="am-modal-hd border-bottom" style = "text-align: left;">帖子推送
                <a href="javascript: void(0)" class="am-close am-close-spin" data-am-modal-close>&times;</a>
            </div>
            <br>
            <div class="am-modal-bd body-area text-left">
                <form>
                    <label>推送内容：</label>
                    <textarea style="width:580px;height:150px;" ng-model="pushMsg" required tabindex="5"></textarea>
                </form>
            </div>
            <div class = "button-area border-top">
                <button type="button"  class="am-btn am-btn-success right-margin top-margin" ng-show="true" ng-click="questionPush(pushMsg)" data-target = "cascad-search-add">确认</button>
            </div>

        </div>
    </div>

</div>